package com.zhangsun.db1.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhangsun.db1.entity.DB1UserEntity;
import com.zhangsun.db1.mapper.DB1UserMapper;
import com.zhangsun.db1.service.DB1UserService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DB1UserServiceImpl extends ServiceImpl<DB1UserMapper, DB1UserEntity> implements DB1UserService {

    @Override
    public List<DB1UserEntity> findAll() {
        LambdaQueryWrapper<DB1UserEntity> queryWrapper = new QueryWrapper<DB1UserEntity>().lambda();
        return baseMapper.selectList(queryWrapper);
    }

}
